<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class MemberAudit extends Model
{
    protected $table = 'v_member_audit';

    //不可批量赋值的属性
    protected $guarded = ['id'];

    //审核状态
    const STATUS_WAIT = 10;
    const STATUS_PASS = 20;
    const STATUS_NO_PASS = 30;

    //审核状态说明
    public static $statusDsc = [
        self::STATUS_WAIT    => '待审核',
        self::STATUS_PASS    => '审核通过',
        self::STATUS_NO_PASS => '审核不通过',
    ];

}
